package com.pro.back.dao;

import com.pro.back.bean.Device;
import com.pro.back.bean.DeviceExample;
import java.util.List;

import com.pro.back.bean.bo.CountBO;
import com.pro.back.bean.bo.DeviceBO;
import com.pro.back.bean.po.DevicePO;
import org.apache.ibatis.annotations.Param;

public interface DeviceMapper {
    long countByExample(DeviceExample example);

    int deleteByPrimaryKey(Long id);

    int insertSelective(Device record);

    List<Device> selectByExample(DeviceExample example);

    Device selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Device record);

    List<DeviceBO> selectAll(DevicePO po);

    List<CountBO> selectDeviceCount();
}